package com.lu.manage.modular.system.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * @program LuBoot
 * @description: 角色和菜单关联表
 * @author: showlu
 * @create: 2019-10-17 09:11:00
 */
@Data
@Accessors(chain = true)
@TableName("sys_menu_role_relation")
public class MenuRoleRelation implements Serializable {

    private static final long serialVersionUID = 1L;
    //主键
    @TableId(value = "id", type = IdType.ID_WORKER_STR)
    private String id;

    //菜单id
    @TableField("menu_id")
    private String menuId;

    //角色id
    @TableField("role_id")
    private String roleId;

}
